package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.RegionInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 中国地区信息 Mapper 接口
 * </p>
 *
 * @author 王鹤蒲
 * @since 2023-08-27
 */
@Mapper
public interface RegionInfoMapper extends BaseMapper<RegionInfo> {

    public List<RegionInfo> queryAllByLevel(String level);

    public List<RegionInfo> queryAllBySuperiorCode(String superiorCode);
}
